@import '../../../../styles/dependencies/mixins/epics-dashboard';

.story-row {
    @include font-size(small);
    @include epics-table;
    align-items: center;
    background: $white;
    border-bottom: 1px solid $whitish;
    display: flex;
    margin-left: 4rem;
    transition: background .2s;
    &:hover {
        background-color: $primary-10;
    }
    &.is-blocked {
        background: $red-light;
        a,
        span,
        div {
            color: $white;
        }
        svg {
            fill: $white;
            stroke: $white;
        }
    }
    &.is-closed {
        .name {
            color: $gray-light;
            text-decoration: line-through;
        }
    }
    .name {
        flex-basis: 17.5vw;
        a {
            cursor: pointer;
        }
    }
    .progress-bar,
    .progress-status {
        height: 1.5rem;
        left: 0;
        position: absolute;
        top: .25rem;
    }
    .progress-bar {
        background: $mass-white;
        max-width: 40vw;
        width: 100%;
    }
    .progress-status {
        background-color: $secondary;
        width: 10vw;
    }
    .vote {
        color: $gray;
        &.is-voter {
            color: $primary-light;
            fill: $primary-light;
        }
    }
    .project {
        cursor: pointer;
    }
    .project,
    .assigned {
        img {
            width: 40px;
        }
    }
    .icon-upvote {
        @include svg-size(.75rem);
        fill: $gray;
        margin-right: .25rem;
        vertical-align: middle;
    }
}
